package com.rainbow.support.common.constant;

/**
 * 增强组件包统一常量类
 * @author 傅为地
 */
public class CommonConstant {


    /**
     * 日志组件配置项
     */
    public static final String EXTRA_ACTION_LOG = "rainbow.extra.log";

    /**
     * redis缓存组件配置项
     */
    public static final String EXTRA_CACHE_REDIS = "rainbow.extra.cache.redis";

    /**
     * parseq任务编排组件配置项
     */
    public static final String EXTRA_PARSEQ_TASK = "rainbow.extra.schedule";

    /**
     * redisson分布式锁配置项
     */
    public static final String EXTRA_REDISSON_DISTRIBUTED_LOCK_SPEL = "${rainbow.extra.lock.redisson.enable:true}";

    /**
     * redisson限流器配置项
     */
    public static final String EXTRA_REDISSON_RATE_SPEL = "${rainbow.extra.rate.redisson.enable:true}";

    /**
     * redisson幂等组件配置项
     */
    public static final String EXTRA_REDISSON_IDEMPOTENT_SPEL = "${rainbow.extra.idempotent.redisson.enable:true}";


    /**
     * xxlJob客户端地址配置信息
     */
    public static final String EXTRA_XXLJOB_URL_SPEL = "${rainbow.job.address:job admin address not found}";

}
